package com.labbit.platform.commons.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ChenYu
 * @date 2018/3/16 16:52
 */
@Data
@Component
@ConfigurationProperties(prefix = "httpclient")
public class HttpClientProperties {

    private Integer maxTotal;

    private Integer defaultMaxPerRoute;

    private Integer connectTimeout;

    private Integer connectionRequestTimeout;

    private Integer socketTimeout;

}